package com.tledu.springboot04.core.exception;

import lombok.Getter;

public class CustomException extends RuntimeException {
    @Getter
    private Integer code;

    public CustomException() {
    }

    public CustomException(Integer code, String message) {
        super(message);
        this.code = code;
    }


}
